package com.legrand;

import com.legrand.core.permission.ParentConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 *@author xiah
 *2018-07-06 02:42:32
 */
@SpringBootApplication
@ParentConfig
@EnableEurekaClient
@EnableFeignClients
@EnableScheduling
@EnableCaching
@EnableGlobalMethodSecurity(jsr250Enabled=true)

public class ArchiveApplication {

    public static void main(String[] args) {
        SpringApplication.run(ArchiveApplication.class, args);
    }

}
